<template>
  <div class="wiki">wiki</div>
  <view>计数: {{ store.count }}</view>
<view>双倍: {{ store.double }}</view>
<button @click="store.increment()">加1</button>
<button @click="store.decrement()">减1</button>
</template>

<script lang="ts" setup>
import { useCounterStore } from '@/stores/counter'
const store = useCounterStore()
</script>

<style scoped></style>
